package com.paul.sys.service.impl;

import com.paul.sys.mapper.BoradInfoMapper;
import com.paul.sys.model.BoradInfo;
import com.paul.sys.service.BoradInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BoradInfoServiceImpl implements BoradInfoService {

    @Autowired
    private BoradInfoMapper boradInfoMapper;



    @Override
    public BoradInfo selectByPrimaryKey(Integer unid) {
        return boradInfoMapper.selectByPrimaryKey(unid);
    }

    @Override
    public List<BoradInfo> selectAll(){
        return boradInfoMapper.selectAll();
    }
}
